package com.qidian.md.service.impl;

import com.qidian.md.mapper.BomItemMapper;
import com.qidian.md.service.BomItemService;
import com.qidian.mes.pojo.md.BomItem;
import com.qidian.mes.util.pojo.MESResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author 18林梦雅
 * @Company 起点编程
 * @Time 2023/11/3 19:37
 * @Description
 */
@Service
public class BomItemServiceImpl implements BomItemService {
@Autowired
    BomItemMapper bomItemMapper;



    @Override
    public MESResult queryByItemId(BomItem bomItem) {

        return MESResult.ok(bomItemMapper.selectByItemId(bomItem.getItemId()));

    }

}
